package com.ruoyi.company.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonAppend;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 合作单位表实体类
 *
 * @author WangChangShuo
 * @date 2022/4/12 16:12
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Company extends BaseEntity {

    private String legalImg;
    private int status;
    private int exist;
    /**
     * 合作单位表主键
     */
    private Long companyId;
    /**
     * 公司名称
     */
    private String companyName;
    private String deptName;
    /**
     * 社会统一信用编码
     */
    private String socialCreditCode;
    /**
     * 营业执照照片
     */
    private String licenseUrl;
    /**
     * 二类备案凭证照片
     */
    private String class2Url;
    /**
     * 三类经营许可凭证照片
     */
    private String class3Url;
    /**
     * 电子印章照片
     */

    private String electronicSealUrl;
    /**
     * 如果没有上传电子印章照片 则自动生成的地址
     */
    private String sealUrl;
    /**
     * 出库单说明信息
     */

    private String outboundDeliveryMemo;
    private String contractTerms;
    /**
     * 法人代表
     */
    private String corporateRepresentative;
    /**
     * 公司地址 省
     */
    private String province;
    /**
     * 公司地址 市
     */
    private String city;
    /**
     * 公司地址 区
     */
    private String otherCorporateAddress;
    /**
     * 收货地址
     */
    private String receiverAddress;
    /**
     * 仓库地址
     */
    private String warehouseAddress;
    /**
     * 仓库联系人
     */
    private String warehouseBy;
    /**
     * 仓库联系人电话
     */
    private String warehousePhone;
    /**
     * 最后登录时间
     */
    private String endLoginDate;
    /*
    税票类别
     */
    private String taxbillType;
    //税率
    private String taxRate;
    //开户银行
    private String depositBank;
    // 银行卡号
    private String bankNumber;
    // corporateRegisterPhone:
    private String corporateRegisterPhone;
    // 邮件地址
    private String invoiceEmail;
    private String shipProvince;
    private String shipCity;
    private String shipDistrict;
    private String shipAddress;
    private String rasProvince;
    private String rasCity;
    private String rasDistrict;
    private String rasAddress;

    /** 快递月结号 */
    private String monthlyCard;

    /**
     * 联系人表 一对多
     */
    private List<CompanyMyLinkman> myLinkmanList;
    private List<CompanyAddress> addressList;

    public Company() {
    }

    public Company(String companyName, String socialCreditCode, String corporateRepresentative, String city, String endLoginDate) {
        this.companyName = companyName;
        this.socialCreditCode = socialCreditCode;
        this.corporateRepresentative = corporateRepresentative;
        this.city = city;
        this.endLoginDate = endLoginDate;
    }

    public String getLegalImg() {
        return legalImg;
    }

    public void setLegalImg(String legalImg) {
        this.legalImg = legalImg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getExist() {
        return exist;
    }

    public void setExist(int exist) {
        this.exist = exist;
    }

    public String getContractTerms() {
        return contractTerms;
    }

    public void setContractTerms(String contractTerms) {
        this.contractTerms = contractTerms;
    }

    public String getRasProvince() {
        return rasProvince;
    }

    public void setRasProvince(String rasProvince) {
        this.rasProvince = rasProvince;
    }

    public String getRasCity() {
        return rasCity;
    }

    public void setRasCity(String rasCity) {
        this.rasCity = rasCity;
    }

    public String getRasDistrict() {
        return rasDistrict;
    }

    public void setRasDistrict(String rasDistrict) {
        this.rasDistrict = rasDistrict;
    }

    public String getRasAddress() {
        return rasAddress;
    }

    public void setRasAddress(String rasAddress) {
        this.rasAddress = rasAddress;
    }

    public String getShipProvince() {
        return shipProvince;
    }

    public void setShipProvince(String shipProvince) {
        this.shipProvince = shipProvince;
    }

    public String getShipCity() {
        return shipCity;
    }

    public void setShipCity(String shipCity) {
        this.shipCity = shipCity;
    }

    public String getShipDistrict() {
        return shipDistrict;
    }

    public void setShipDistrict(String shipDistrict) {
        this.shipDistrict = shipDistrict;
    }

    public String getShipAddress() {
        return shipAddress;
    }

    public void setShipAddress(String shipAddress) {
        this.shipAddress = shipAddress;
    }

    public String getTaxbillType() {
        return taxbillType;
    }

    public void setTaxbillType(String taxbillType) {
        this.taxbillType = taxbillType;
    }

    public String getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate;
    }

    public String getDepositBank() {
        return depositBank;
    }

    public void setDepositBank(String depositBank) {
        this.depositBank = depositBank;
    }

    public String getBankNumber() {
        return bankNumber;
    }

    public void setBankNumber(String bankNumber) {
        this.bankNumber = bankNumber;
    }
    //单位具体地址




    /*  private List<>*/

    public String getCorporateRegisterPhone() {
        return corporateRegisterPhone;
    }

    public void setCorporateRegisterPhone(String corporateRegisterPhone) {
        this.corporateRegisterPhone = corporateRegisterPhone;
    }

    public String getInvoiceEmail() {
        return invoiceEmail;
    }

    public void setInvoiceEmail(String invoiceEmail) {
        this.invoiceEmail = invoiceEmail;
    }

    public List<CompanyAddress> getAddressList() {
        return addressList;
    }

    public void setAddressList(List<CompanyAddress> addressList) {
        this.addressList = addressList;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseBy() {
        return warehouseBy;
    }

    public void setWarehouseBy(String warehouseBy) {
        this.warehouseBy = warehouseBy;
    }

    public String getWarehousePhone() {
        return warehousePhone;
    }

    public void setWarehousePhone(String warehousePhone) {
        this.warehousePhone = warehousePhone;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getSealUrl() {
        return sealUrl;
    }

    public void setSealUrl(String sealUrl) {
        this.sealUrl = sealUrl;
    }

    public String getEndLoginDate() {
        return endLoginDate;
    }

    public void setEndLoginDate(String endLoginDate) {
        this.endLoginDate = endLoginDate;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getElectronicSealUrl() {
        return electronicSealUrl;
    }

    public void setElectronicSealUrl(String electronicSealUrl) {
        this.electronicSealUrl = electronicSealUrl;
    }

    public String getOutboundDeliveryMemo() {
        return outboundDeliveryMemo;
    }

    public void setOutboundDeliveryMemo(String outboundDeliveryMemo) {
        this.outboundDeliveryMemo = outboundDeliveryMemo;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public String getLicenseUrl() {
        return licenseUrl;
    }

    public void setLicenseUrl(String licenseUrl) {
        this.licenseUrl = licenseUrl;
    }

    public String getClass2Url() {
        return class2Url;
    }

    public void setClass2Url(String class2Url) {
        this.class2Url = class2Url;
    }

    public String getClass3Url() {
        return class3Url;
    }

    public void setClass3Url(String class3Url) {
        this.class3Url = class3Url;
    }

    public String getCorporateRepresentative() {
        return corporateRepresentative;
    }

    public void setCorporateRepresentative(String corporateRepresentative) {
        this.corporateRepresentative = corporateRepresentative;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getOtherCorporateAddress() {
        return otherCorporateAddress;
    }

    public void setOtherCorporateAddress(String otherCorporateAddress) {
        this.otherCorporateAddress = otherCorporateAddress;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public List<CompanyMyLinkman> getMyLinkmanList() {
        return myLinkmanList;
    }

    public void setMyLinkmanList(List<CompanyMyLinkman> myLinkmanList) {
        this.myLinkmanList = myLinkmanList;
    }

    public String getMonthlyCard() {
        return monthlyCard;
    }

    public void setMonthlyCard(String monthlyCard) {
        this.monthlyCard = monthlyCard;
    }
}
